﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="MyMessageBoardListCopy.aspx.cs" Inherits="BalanceCenter_MyMessageBoardListCopy" %>

<%@ Register TagPrefix="ShoveWebUI" Namespace="Shove.Web.UI" Assembly="Shove.Web.UI.4 For.NET 2.0" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title></title>
	<LINK href="../style/css.css" type="text/css" rel="stylesheet">
	<LINK href="../style/main.css" type="text/css" rel="stylesheet">
    <script src="../My97DatePicker/WdatePicker.js" type="text/javascript"></script>
</head>
<body bottomMargin="0" leftMargin="0" topMargin="0" rightMargin="0" style="text-align: center">
    <form id="form1" runat="server">
        <font face="宋体">
            <br />
            <span style="font-size: 12pt; color: #3399cc"><strong>汇款通知</strong></span><br /><br />
			<TABLE id="Table1" cellSpacing="0" cellPadding="0" width="80%" align="center" border="0">
				    <%--<TR>
					    <TD align="left" style="padding-left: 10px;">
                            <input type="text" runat="server" onfocus="this.value=''" onblur="if (this.value == '') this.value = '请输入搜索的关键字'" id="tbKeyWord" value="请输入搜索的关键字" style="width:120px;" />
                            <asp:DropDownList ID="ddlType1" runat="server">
                                <asp:ListItem Value="2">标题</asp:ListItem>
                            </asp:DropDownList>
                            <input name="tbDateTime" type="text" id="tbDateTime" runat="server" style="width:120px;" />
                            <asp:DropDownList ID="ddlTimeType" runat="server">
                                <asp:ListItem Value="1">日</asp:ListItem>
                                <asp:ListItem Value="2">月</asp:ListItem>
                                <asp:ListItem Value="3">年</asp:ListItem>
                            </asp:DropDownList>
                            <asp:DropDownList ID="ddlReply" runat="server">
                                <asp:ListItem Value="1">未回复</asp:ListItem>
                                <asp:ListItem Value="2">已回复</asp:ListItem>
                            </asp:DropDownList>
                            <asp:Button ID="btnSearch" runat="server" Text="搜索" onclick="btnSearch_Click" />
					    </TD>
				    </TR>--%>
					<TR>
						<TD align="center">
						    <asp:TextBox ID="tbTypeID" runat="server" Visible="false"></asp:TextBox>
						    <asp:DataList id="g" runat="server" Width="100%" RepeatColumns="1" 
                                CellPadding="0" onitemdatabound="g_ItemDataBound" 
                                onitemcommand="g_ItemCommand">
								<ITEMTEMPLATE>
								<BR>
									<TABLE id="Table2" style="BORDER-RIGHT: 1px solid; BORDER-TOP: 1px solid; BORDER-LEFT: 1px solid; WIDTH: 100%; BORDER-BOTTOM: 1px solid; FONT-FAMILY: 宋体; BORDER-COLLAPSE: collapse; BACKGROUND-COLOR: white"
										border="1">
										<TR>
											<TD align="center" width="180" rowSpan="5"><IMG src='../images/Face/<%# Eval("Sex")%>.gif'>
												<BR>
												时间:<%# Eval("DateTime")%>
												<BR>
												IP:<%# Eval("IPAddress")%>
												<BR>
												用户:<%# Eval("CustomerNO")%>
												<BR>
												收款方:<%# Eval( "ToCustomerNO").ToString().Replace("&nbsp;", "") == "" ? "公司" : "<font color='red'><b>" + Eval( "ToCustomerNO").ToString() + "</b></font>"%>
											</TD>
											<TD bgColor="aliceblue" align="left"><STRONG>汇款人：</STRONG>&nbsp;<%# Eval("Title")%>
											<INPUT id="tbID" type="hidden" value='<%# Eval("ID")%>' name="tbID" runat="server">
											<INPUT id="tbToCustomerID" type="hidden" value='<%# Eval("ToCustomerID")%>' name="tbToCustomerID" runat="server">
											</TD>
										</TR>
										<TR>
											<TD align="left"><STRONG>通知内容：</STRONG><BR>
												<%# Eval("Content2")%>
											</TD>
										</TR>
										<TR>
											<TD bgColor="honeydew" align="left"><STRONG>回复：</STRONG>&nbsp;<FONT color="dimgray"><%# Eval("ReplyDateTime")%></FONT></TD>
										</TR>
										<TR>
											<TD align="left">
												<asp:TextBox id="tbReply" runat="server" Width="100%" BorderStyle="None" Text='<%# Eval("Reply2")%>' TextMode="MultiLine" Height="150px" BorderWidth="0px" BorderColor="#E0E0E0">
												</asp:TextBox></TD>
										</TR>
										<TR>
											<TD align="right">
												<asp:Button id="Button1" runat="server" Text="删除通知" CommandName="btnDelete"></asp:Button>&nbsp;&nbsp;
												<asp:Button id="Button2" runat="server" Text="保存回复" CommandName="btnReply"></asp:Button>&nbsp;&nbsp;&nbsp;&nbsp;</TD>
										</TR>
									</TABLE>
								</ITEMTEMPLATE>
							</asp:DataList>
                          <table bgcolor="#FFFFFF" border="0" cellpadding="0" cellspacing="0" width="100%" style="text-align: center" id="PageColumn" runat="server">
                            <tr>
                                <td align="right" class="black12" style="height: 43px">
                                        &nbsp; 共
                                        <asp:Label ID="TotalCount" runat="server"></asp:Label>
                                        <span style="height: 24px"></span>条汇款通知
                                        <asp:LinkButton ID="lnkPrev" runat="server" OnClick="lnkPrev_Click">上一页</asp:LinkButton>
                                        当前为：<font color="#ff0000"><asp:Label ID="PageIndex" runat="server" Text="1"></asp:Label></font>/<asp:Label
                                            ID="MaxPage" runat="server" Text="1"></asp:Label>页
                                        <asp:LinkButton ID="lnkNext" runat="server" OnClick="lnkNext_Click">下一页</asp:LinkButton>
                                        每页<asp:Label ID="PSize" runat="server"></asp:Label>条&nbsp;&nbsp;&nbsp;</td>
                                <td class="black12" style="padding-top:3px; height: 43px; width: 80px;" align="right">转到第&nbsp;</td>
                                <td class="black12" align="center" width="90px" tyle="padding-top:3px; height: 43px;">
                                    <asp:DropDownList ID="selectPage" runat="server" Width="80px" Height="18px" AutoPostBack="True" OnSelectedIndexChanged="ddl_SelectedIndexChanged">
                                    </asp:DropDownList></td>
                                <td class="black12" align="left" style="padding-top:3px; height: 43px; width: 50px;">&nbsp;页</td>
                                    </tr>
                                </table>
						<BR>
						<DIV style="WIDTH: 665px; POSITION: relative; HEIGHT: 496px">
						    <table cellSpacing="0" cellPadding="0" width="100%" align="center" border="0">
						        <tr>
						            <td align="right" style="width:60px; height:25px;">
						                汇款人：
						            </td>
						            <td align="left">
						                <asp:textbox id="tbTitle" runat="server" MaxLength="50"></asp:textbox>
						            </td>
						        </tr>
						        <tr>
						            <td align="right" style="width:60px; height:25px;">
						                收款方：
						            </td>
						            <td align="left">
						                <asp:textbox id="tbToCustomer" runat="server" MaxLength="50"></asp:textbox> <font color="red">* 不填默认给公司汇款通知</font>
						            </td>
						        </tr>
						        <tr>
						            <td align="right" valign="top">
						                通知内容：
						            </td>
						            <td align="left">
						                <asp:textbox id="tbContent" runat="server" Width="568px" Height="200px" TextMode="MultiLine"></asp:textbox>
						            </td>
						        </tr>
						        <tr>
						            <td align="center" colspan="2" style="height:25px;">
						                <ShoveWebUI:ShoveConfirmButton id="btnOK" runat="server" Text="提交汇款通知" AlertText="确信要提交汇款通知吗？" onclick="btnOK_Click"></ShoveWebUI:ShoveConfirmButton>
						            </td>
						        </tr>
						    </table>
						    </DIV>
					</TD>
				</TR>
			</TABLE>
        </font>
    </form>
</body>
</html>